export default {
  name: 'DlnaPlayerExample',
  slug: 'react-native-dlna-player-example',
  version: '1.0.0',
  orientation: 'portrait',
  icon: './assets/icon.png',
  userInterfaceStyle: 'light',
  splash: {
    image: './assets/splash.png',
    resizeMode: 'contain',
    backgroundColor: '#ffffff',
  },
  updates: {
    fallbackToCacheTimeout: 0,
  },
  assetBundlePatterns: ['**/*'],
  ios: {
    supportsTablet: true,
    bundleIdentifier: 'com.example.dlnaplayer',
    infoPlist: {
      NSLocalNetworkUsageDescription:
        'App needs access to the network to find DLNA devices',
      NSBonjourServices: ['_googlecast._tcp', '_ssdp._udp'],
      UIBackgroundModes: ['audio'],
    },
  },
  android: {
    adaptiveIcon: {
      foregroundImage: './assets/adaptive-icon.png',
      backgroundColor: '#FFFFFF',
    },
    package: 'com.example.dlnaplayer',
    permissions: [
      'android.permission.INTERNET',
      'android.permission.ACCESS_NETWORK_STATE',
      'android.permission.ACCESS_WIFI_STATE',
      'android.permission.CHANGE_WIFI_MULTICAST_STATE',
    ],
  },
  web: {
    favicon: './assets/favicon.png',
  },
  // 暂时注释掉插件
  // plugins: [
  //   '../src/expo/withDlnaPlayer'
  // ],
  extra: {
    eas: {
      projectId: 'your-project-id',
    },
  },
};
